using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools._3DFeatures
{
    /// <summary>
    /// <para>Is Closed 3D</para>
    /// <para>Evaluates multipatch features to determine whether each feature completely encloses a volume of space.</para>
    /// <para>评估多面体要素以确定每个要素是否完全包围了一定空间。</para>
    /// </summary>    
    [DisplayName("Is Closed 3D")]
    public class IsClosed3D : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public IsClosed3D()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_feature_class">
        /// <para>Input Multipatch Features</para>
        /// <para>The multipatch features to be tested.</para>
        /// <para>要测试的多面体功能。</para>
        /// </param>
        public IsClosed3D(object _in_feature_class)
        {
            this._in_feature_class = _in_feature_class;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "Is Closed 3D";

        public override string CallName => "3d.IsClosed3D";

        public override List<string> AcceptEnvironments => ["extent", "workspace"];

        public override object[] ParameterInfo => [_in_feature_class, _output_feature_class];

        /// <summary>
        /// <para>Input Multipatch Features</para>
        /// <para>The multipatch features to be tested.</para>
        /// <para>要测试的多面体功能。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Multipatch Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_feature_class { get; set; }


        /// <summary>
        /// <para>Updated Input Multipatch Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Multipatch Features")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _output_feature_class { get; set; }


        public IsClosed3D SetEnv(object extent = null, object workspace = null)
        {
            base.SetEnv(extent: extent, workspace: workspace);
            return this;
        }

    }

}